<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>卖家-修改个人信息</title>
<link href="<?php echo $this->_webroot('/user/css/common.css'); ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_webroot('/user/css/content1.css'); ?>" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->_webroot('/user/js/jquery-1.7.1.min.js'); ?>" type="text/javascript"></script>
<script src="<?php echo $this->_webroot('/user/js/common.js'); ?>" type="text/javascript"></script>
<style type="text/css">
th{background:#EFEFEF}
.edit span{background:#efefef;}
.search {margin:5px;}
.search input {color:#444;}
td.img img{cursor:pointer}
</style>
 
</head>
<body>
<psp:tags     htmlname='user_topnav1'  iconname='usertopnav1' />
<psp:tags     htmlname='user_topsearch'  iconname='usertopsearch' />

<div class="main">
	<div class="main-left">
    	<div class="title">会员管理中心</div>
        <psp:tags     htmlname='user_menulist'  iconname='usermenulist' />
    </div>
<link href="<?php echo $this->_webroot('/user/css/shoprequest.css'); ?>" rel="stylesheet" type="text/css" />   
    <div class="main-right main_right">
            <div class="cont">

	            <div class="cont_title">解释</div>
	            <hr />

			<form action="<?php echo $this->_url('usershop/shoprater');?>?id=<?php echo $cid;?>&t=<?php echo $t;?>" name="form1" method="post" onsubmit="return check();">
				<table width="98%" class="form_table_02">
					<tr class="center">
						<th class="textright">评价</th>
						<td class="textleft"><?php echo $credit[$result['credit']];?></td>
					</tr>
					<tr class="center">
						<th class="textright">评价内容</th>
						<td class="textleft"><?php echo  $result['evaluate'];?></td>
					</tr>
					<tr class="center">
						<th class="textright">评论人</th>
						<td class="textleft"><?php echo  $result['user_name'];?></td>
					</tr>
					<tr class="center">
						<th class="textright">商品信息</th>
						<td class="textleft"><?php echo  $result['goods_name'];?></td>
					</tr>
					<tr class="center">
						<th class="textright">评价时间</th>
						<td class="textleft"><?php echo $result['evaltime'];?></td>
					</tr>
					<tr>
						<th class="textleft" colspan="2">
							我要解释
						</th>
					</tr>
					<tr>
						<th class="textright">解释内容</th>
						<td class="textleft">
							<textarea rows="4" cols="50" name="reply" id="textareac" onkeyup="this.value=this.value.slice(0,300);"></textarea>
						</td>
					</tr>
					<tr>
						<td class="center" colspan="2">
							<input type="submit" value="确认"/>
						</td>
					</tr>
				</table>
			</form>
				
			  
            </div>
    </div>
    <div class="clear"></div>
</div>

<div class="footer">
    <psp:tags     htmlname='user_footer_helper'  iconname='userfooterhelper' />

</div>
<script language="JavaScript">
function Trim(center) {
	return center.replace(/\s+$|^\s+/g,"");
}
function check(){
	var center = Trim(document.form1.reply.value);

	var textareac = document.getElementById("textareac");
	if(center == ""){
		alert("解释内容不能为空！");
		document.form1.reply.value = center;
		return false;
	}
	if(textareac.value.length>300){
		alert("输入字数超长");
		textareac.focus();
		return false;
	}
	return true;
}
</script>
</body>
</html>